package extendExamples;

public class SpaceShipDelegation {
	private String name;
	private SpaceShip spaceShip = new SpaceShip();

	public SpaceShipDelegation(String name) {
		this.name = name;
	}

	private void down() {
		spaceShip.down();
	}

	private void up() {
		spaceShip.up();
	}

	private void left() {
		spaceShip.left();
	}

	private void right() {
		spaceShip.right();
	}
}
